.slider-wapper {
  width: 100%;
  display: flex;
  flex-direction: row;
  height: 70rpx;
  overflow: hidden;
  margin: 20rpx 0;
  position: relative;
  padding: 10rpx;
  box-sizing: border-box;
  background-color: #E8EFF7;

  .slider-placeholder {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    pointer-events: none;
    padding: 0 10rpx;

    .placeholder {
      flex: 1;
      justify-content: flex-end;
      align-items: center;
      display: flex;
      box-sizing: border-box;

      &.disabled {
        opacity: 0;
      }

      &::after {
        content: " ";
        width: 20rpx;
        display: block;
        margin-left: -10rpx;
        height: 20rpx;
        border-radius: 10rpx;
        background-color: #B4C4D8
      }
    }
  }

  &.round {
    border-radius: 40rpx;

    .slider-point {
      border-radius: 32rpx;
    }

    .slider-container {
      border-radius: 40rpx;
    }

    .slider-inner {
      border-top-left-radius: 40rpx;
      border-bottom-left-radius: 40rpx;
    }
  }

  &.rectangle {
    border-radius: 10rpx;

    .slider-point {
      border-radius: 10rpx;
    }

    .slider-container {
      border-radius: 10rpx;
    }

    .slider-inner {
      border-top-left-radius: 10rpx;
      border-bottom-left-radius: 10rpx;
    }

  }
}

.slider-point {
  width: 50rpx;
  height: 50rpx;
  pointer-events: none;
  position: absolute;
  // top: 8rpx;
  background-color: #fff;
  z-index: 9;

  .handle {
    width: 6px;
    background-color: #fff;
    height: 30px;
  }
}

.slider-container {
  flex: 1;
  display: flex;
  height: 100%;
  overflow: hidden;
  position: relative;

  .slider-minus {
    position: absolute;
    left: 0rpx;
    top: -2rpx;
    width: 70rpx;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .slider-add {
    position: absolute;
    right: 0rpx;
    top: -2rpx;
    width: 70rpx;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
}

.slider-inner {
  height: 100%;

  // background-color: #0099FF;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  width: 40%;

  .slider-minus {
    color: #fff;
  }

  .slider-add {
    color: #fff;
    right: 0rpx;
  }

  &.point {
    justify-content: flex-start;

    .slider-value {
      padding-right: 0rpx;
      text-align: left;
      padding-left: 20rpx;
    }
  }
}

.slider-value {
  min-width: 200rpx;
  text-align: right;
  padding-right: 20rpx;
  pointer-events: none;
  color: #fff;
}